from tkinter import *
x = int(input())
n = int(input())


coords = [x, 0, x+n, 0, x+n, n, x+2 * n, n, x + 2 * n
          , 2 * n, x, 2 * n ]

root = Tk()
root.title('ИТ-Марафон')
root.geometry('500x500')

canvas = Canvas(bg = 'white', width = 500,height = 500)
canvas.pack(anchor = CENTER, expand = 1)

canvas.create_polygon(coords)

root.mainloop()
                
                






































